//
//  SegmentView.h
//  LvXi_newVersion
//
//  Created by 王敏 on 16/8/30.
//  Copyright © 2016年 SJT. All rights reserved.
//

typedef NS_ENUM(NSUInteger, UpArrowPosition) {
    UpArrowPositionLeft,
    UpArrowPositionCenter,
    UpArrowPositionRight,
};
#import <UIKit/UIKit.h>
@class SegmentView;
@protocol SegmentViewDelegate <NSObject>

@optional
-(void)didSelectedOptionIndex:(NSInteger)index segmentView:(SegmentView*)segmentView;

@end

@interface SegmentView : UIView

/**向上箭头的位置*/
@property(nonatomic,assign)UpArrowPosition arrowPosition;

/**选项*/
@property(nonatomic,strong)NSArray * options;


/**代理指针*/
@property(nonatomic,assign)id<SegmentViewDelegate>delegate;
@end
